package com.seocoo.worker.base.multiImage;

import android.content.Context;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.MotionEvent;


/**
 * Created by: ssp
 * Date: 2020/4/16 19:19
 * Description:  查看大图
 */
public class DoorPreviewViewPager extends ViewPager {
    public DoorPreviewViewPager(@NonNull Context context) {
        super(context);
    }

    public DoorPreviewViewPager(@NonNull Context context, @Nullable AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public boolean onInterceptTouchEvent(MotionEvent ev) {
        try {
            return super.onInterceptTouchEvent(ev);
        } catch (IllegalArgumentException e) {
            return false;
        }
    }
}
